<?xml version='1.0' encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <link href="cpip.css" rel="stylesheet" type="text/css" />
    <title>File: /Users/paulross/dev/Python-3.6.2/Include/pymacconfig.h</title>
  </head>
  <body>
    <h1>File: /Users/paulross/dev/Python-3.6.2/Include/pymacconfig.h</h1>
    <p>Green shading in the line number column
means the source is part of the translation unit, red means it is conditionally excluded.
Highlighted line numbers link to the translation unit page. Highlighted macros link to
the macro page.</p>
    <pre><a name="1" /><span class="True">       1:</span> <span class="f">#</span><span class="n">ifndef</span> <a href="macros_noref.html#_UFlNQUNDT05GSUdfSF8w"><span class="b">PYMACCONFIG_H</span></a>
<a name="2" /><span class="True">       2:</span> <span class="f">#</span><span class="n">define</span> <a href="macros_noref.html#_UFlNQUNDT05GSUdfSF8w"><span class="b">PYMACCONFIG_H</span></a>
<a name="3" /><span class="True">       3:</span>      <span class="k">/*</span>
<a name="4" /><span class="True">       4:</span> <span class="k">      * This file moves some of the autoconf magic to compile-time</span>
<a name="5" /><span class="True">       5:</span> <span class="k">      * when building on MacOSX. This is needed for building 4-way</span>
<a name="6" /><span class="True">       6:</span> <span class="k">      * universal binaries and for 64-bit universal binaries because</span>
<a name="7" /><span class="True">       7:</span> <span class="k">      * the values redefined below aren&apos;t configure-time constant but</span>
<a name="8" /><span class="True">       8:</span> <span class="k">      * only compile-time constant in these scenarios.</span>
<a name="9" /><span class="True">       9:</span> <span class="k">      */</span>
<a name="10" /><span class="True">      10:</span> 
<a name="11" /><span class="False">      11:</span> <span class="f">#</span><span class="n">if</span> <span class="b">defined</span><span class="f">(</span><span class="b">__APPLE__</span><span class="f">)</span>
<a name="12" /><span class="False">      12:</span> 
<a name="13" /><span class="False">      13:</span> <span class="f">#</span> <span class="n">undef</span> <a href="macros_ref.html#_U0laRU9GX0xPTkdfMA__"><span class="b">SIZEOF_LONG</span></a>
<a name="14" /><span class="False">      14:</span> <span class="f">#</span> <span class="n">undef</span> <a href="macros_noref.html#_U0laRU9GX1BUSFJFQURfVF8w"><span class="b">SIZEOF_PTHREAD_T</span></a>
<a name="15" /><span class="False">      15:</span> <span class="f">#</span> <span class="n">undef</span> <a href="macros_ref.html#_U0laRU9GX1NJWkVfVF8w"><span class="b">SIZEOF_SIZE_T</span></a>
<a name="16" /><span class="False">      16:</span> <span class="f">#</span> <span class="n">undef</span> <a href="macros_noref.html#_U0laRU9GX1RJTUVfVF8w"><span class="b">SIZEOF_TIME_T</span></a>
<a name="17" /><span class="False">      17:</span> <span class="f">#</span> <span class="n">undef</span> <a href="macros_ref.html#_U0laRU9GX1ZPSURfUF8w"><span class="b">SIZEOF_VOID_P</span></a>
<a name="18" /><span class="False">      18:</span> <span class="f">#</span> <span class="n">undef</span> <a href="macros_noref.html#_U0laRU9GX19CT09MXzA_"><span class="b">SIZEOF__BOOL</span></a>
<a name="19" /><span class="False">      19:</span> <span class="f">#</span> <span class="n">undef</span> <a href="macros_noref.html#_U0laRU9GX1VJTlRQVFJfVF8w"><span class="b">SIZEOF_UINTPTR_T</span></a>
<a name="20" /><span class="False">      20:</span> <span class="f">#</span> <span class="n">undef</span> <a href="macros_noref.html#_U0laRU9GX1BUSFJFQURfVF8w"><span class="b">SIZEOF_PTHREAD_T</span></a>
<a name="21" /><span class="False">      21:</span> <span class="f">#</span> <span class="n">undef</span> <span class="b">WORDS_BIGENDIAN</span>
<a name="22" /><span class="False">      22:</span> <span class="f">#</span> <span class="n">undef</span> <span class="b">DOUBLE_IS_ARM_MIXED_ENDIAN_IEEE754</span>
<a name="23" /><span class="False">      23:</span> <span class="f">#</span> <span class="n">undef</span> <span class="b">DOUBLE_IS_BIG_ENDIAN_IEEE754</span>
<a name="24" /><span class="False">      24:</span> <span class="f">#</span> <span class="n">undef</span> <a href="macros_ref.html#_RE9VQkxFX0lTX0xJVFRMRV9FTkRJQU5fSUVFRTc1NF8w"><span class="b">DOUBLE_IS_LITTLE_ENDIAN_IEEE754</span></a>
<a name="25" /><span class="False">      25:</span> <span class="f">#</span> <span class="n">undef</span> <a href="macros_ref.html#_SEFWRV9HQ0NfQVNNX0ZPUl9YODdfMA__"><span class="b">HAVE_GCC_ASM_FOR_X87</span></a>
<a name="26" /><span class="False">      26:</span> 
<a name="27" /><span class="False">      27:</span> <span class="f">#</span>    <span class="n">undef</span> <span class="b">VA_LIST_IS_ARRAY</span>
<a name="28" /><span class="False">      28:</span> <span class="f">#</span>    <span class="n">if</span> <span class="b">defined</span><span class="f">(</span><span class="b">__LP64__</span><span class="f">)</span> <span class="f">&amp;&amp;</span> <span class="b">defined</span><span class="f">(</span><a href="macros_ref.html#_X194ODZfNjRfX18w"><span class="b">__x86_64__</span></a><span class="f">)</span>
<a name="29" /><span class="False">      29:</span> <span class="f">#</span>        <span class="n">define</span> <span class="b">VA_LIST_IS_ARRAY</span> <span class="c">1</span>
<a name="30" /><span class="False">      30:</span> <span class="f">#</span>    <span class="n">endif</span>
<a name="31" /><span class="False">      31:</span> 
<a name="32" /><span class="False">      32:</span> <span class="f">#</span>    <span class="n">undef</span> <span class="b">HAVE_LARGEFILE_SUPPORT</span>
<a name="33" /><span class="False">      33:</span> <span class="f">#</span>    <span class="n">ifndef</span> <span class="b">__LP64__</span>
<a name="34" /><span class="False">      34:</span> <span class="f">#</span>         <span class="n">define</span> <span class="b">HAVE_LARGEFILE_SUPPORT</span> <span class="c">1</span>
<a name="35" /><span class="False">      35:</span> <span class="f">#</span>    <span class="n">endif</span>
<a name="36" /><span class="False">      36:</span> 
<a name="37" /><span class="False">      37:</span> <span class="f">#</span>    <span class="n">undef</span> <a href="macros_ref.html#_U0laRU9GX0xPTkdfMA__"><span class="b">SIZEOF_LONG</span></a>
<a name="38" /><span class="False">      38:</span> <span class="f">#</span>    <span class="n">ifdef</span> <span class="b">__LP64__</span>
<a name="39" /><span class="False">      39:</span> <span class="f">#</span>        <span class="n">define</span> <a href="macros_noref.html#_U0laRU9GX19CT09MXzA_"><span class="b">SIZEOF__BOOL</span></a>            <span class="c">1</span>
<a name="40" /><span class="False">      40:</span> <span class="f">#</span>        <span class="n">define</span> <a href="macros_noref.html#_U0laRU9GX19CT09MXzA_"><span class="b">SIZEOF__BOOL</span></a>            <span class="c">1</span>
<a name="41" /><span class="False">      41:</span> <span class="f">#</span>        <span class="n">define</span> <a href="macros_ref.html#_U0laRU9GX0xPTkdfMA__"><span class="b">SIZEOF_LONG</span></a>             <span class="c">8</span>
<a name="42" /><span class="False">      42:</span> <span class="f">#</span>        <span class="n">define</span> <a href="macros_noref.html#_U0laRU9GX1BUSFJFQURfVF8w"><span class="b">SIZEOF_PTHREAD_T</span></a>        <span class="c">8</span>
<a name="43" /><span class="False">      43:</span> <span class="f">#</span>        <span class="n">define</span> <a href="macros_ref.html#_U0laRU9GX1NJWkVfVF8w"><span class="b">SIZEOF_SIZE_T</span></a>           <span class="c">8</span>
<a name="44" /><span class="False">      44:</span> <span class="f">#</span>        <span class="n">define</span> <a href="macros_noref.html#_U0laRU9GX1RJTUVfVF8w"><span class="b">SIZEOF_TIME_T</span></a>           <span class="c">8</span>
<a name="45" /><span class="False">      45:</span> <span class="f">#</span>        <span class="n">define</span> <a href="macros_ref.html#_U0laRU9GX1ZPSURfUF8w"><span class="b">SIZEOF_VOID_P</span></a>           <span class="c">8</span>
<a name="46" /><span class="False">      46:</span> <span class="f">#</span>        <span class="n">define</span> <a href="macros_noref.html#_U0laRU9GX1VJTlRQVFJfVF8w"><span class="b">SIZEOF_UINTPTR_T</span></a>        <span class="c">8</span>
<a name="47" /><span class="False">      47:</span> <span class="f">#</span>        <span class="n">define</span> <a href="macros_noref.html#_U0laRU9GX1BUSFJFQURfVF8w"><span class="b">SIZEOF_PTHREAD_T</span></a>        <span class="c">8</span>
<a name="48" /><span class="False">      48:</span> <span class="f">#</span>    <span class="n">else</span>
<a name="49" /><span class="False">      49:</span> <span class="f">#</span>        <span class="n">ifdef</span> <span class="b">__ppc__</span>
<a name="50" /><span class="False">      50:</span> <span class="f">#</span>           <span class="n">define</span> <a href="macros_noref.html#_U0laRU9GX19CT09MXzA_"><span class="b">SIZEOF__BOOL</span></a>         <span class="c">4</span>
<a name="51" /><span class="False">      51:</span> <span class="f">#</span>        <span class="n">else</span>
<a name="52" /><span class="False">      52:</span> <span class="f">#</span>           <span class="n">define</span> <a href="macros_noref.html#_U0laRU9GX19CT09MXzA_"><span class="b">SIZEOF__BOOL</span></a>         <span class="c">1</span>
<a name="53" /><span class="False">      53:</span> <span class="f">#</span>        <span class="n">endif</span>
<a name="54" /><span class="False">      54:</span> <span class="f">#</span>        <span class="n">define</span> <a href="macros_ref.html#_U0laRU9GX0xPTkdfMA__"><span class="b">SIZEOF_LONG</span></a>             <span class="c">4</span>
<a name="55" /><span class="False">      55:</span> <span class="f">#</span>        <span class="n">define</span> <a href="macros_noref.html#_U0laRU9GX1BUSFJFQURfVF8w"><span class="b">SIZEOF_PTHREAD_T</span></a>        <span class="c">4</span>
<a name="56" /><span class="False">      56:</span> <span class="f">#</span>        <span class="n">define</span> <a href="macros_ref.html#_U0laRU9GX1NJWkVfVF8w"><span class="b">SIZEOF_SIZE_T</span></a>           <span class="c">4</span>
<a name="57" /><span class="False">      57:</span> <span class="f">#</span>        <span class="n">define</span> <a href="macros_noref.html#_U0laRU9GX1RJTUVfVF8w"><span class="b">SIZEOF_TIME_T</span></a>           <span class="c">4</span>
<a name="58" /><span class="False">      58:</span> <span class="f">#</span>        <span class="n">define</span> <a href="macros_ref.html#_U0laRU9GX1ZPSURfUF8w"><span class="b">SIZEOF_VOID_P</span></a>           <span class="c">4</span>
<a name="59" /><span class="False">      59:</span> <span class="f">#</span>        <span class="n">define</span> <a href="macros_noref.html#_U0laRU9GX1VJTlRQVFJfVF8w"><span class="b">SIZEOF_UINTPTR_T</span></a>        <span class="c">4</span>
<a name="60" /><span class="False">      60:</span> <span class="f">#</span>        <span class="n">define</span> <a href="macros_noref.html#_U0laRU9GX1BUSFJFQURfVF8w"><span class="b">SIZEOF_PTHREAD_T</span></a>        <span class="c">4</span>
<a name="61" /><span class="False">      61:</span> <span class="f">#</span>    <span class="n">endif</span>
<a name="62" /><span class="False">      62:</span> 
<a name="63" /><span class="False">      63:</span> <span class="f">#</span>    <span class="n">if</span> <span class="b">defined</span><span class="f">(</span><span class="b">__LP64__</span><span class="f">)</span>
<a name="64" /><span class="False">      64:</span>      <span class="k">/* MacOSX 10.4 (the first release to support 64-bit code</span>
<a name="65" /><span class="False">      65:</span> <span class="k">      * at all) only supports 64-bit in the UNIX layer.</span>
<a name="66" /><span class="False">      66:</span> <span class="k">      * Therefore suppress the toolbox-glue in 64-bit mode.</span>
<a name="67" /><span class="False">      67:</span> <span class="k">      */</span>
<a name="68" /><span class="False">      68:</span> 
<a name="69" /><span class="False">      69:</span>     <span class="k">/* In 64-bit mode setpgrp always has no arguments, in 32-bit</span>
<a name="70" /><span class="False">      70:</span> <span class="k">     * mode that depends on the compilation environment</span>
<a name="71" /><span class="False">      71:</span> <span class="k">     */</span>
<a name="72" /><span class="False">      72:</span> <span class="f">#</span>       <span class="n">undef</span> <span class="b">SETPGRP_HAVE_ARG</span>
<a name="73" /><span class="False">      73:</span> 
<a name="74" /><span class="False">      74:</span> <span class="f">#</span>    <span class="n">endif</span>
<a name="75" /><span class="False">      75:</span> 
<a name="76" /><span class="False">      76:</span> <span class="f">#</span><span class="n">ifdef</span> <span class="b">__BIG_ENDIAN__</span>
<a name="77" /><span class="False">      77:</span> <span class="f">#</span><span class="n">define</span> <span class="b">WORDS_BIGENDIAN</span> <span class="c">1</span>
<a name="78" /><span class="False">      78:</span> <span class="f">#</span><span class="n">define</span> <span class="b">DOUBLE_IS_BIG_ENDIAN_IEEE754</span>
<a name="79" /><span class="False">      79:</span> <span class="f">#</span><span class="n">else</span>
<a name="80" /><span class="False">      80:</span> <span class="f">#</span><span class="n">define</span> <a href="macros_ref.html#_RE9VQkxFX0lTX0xJVFRMRV9FTkRJQU5fSUVFRTc1NF8w"><span class="b">DOUBLE_IS_LITTLE_ENDIAN_IEEE754</span></a>
<a name="81" /><span class="False">      81:</span> <span class="f">#</span><span class="n">endif</span> <span class="k">/* __BIG_ENDIAN */</span>
<a name="82" /><span class="False">      82:</span> 
<a name="83" /><span class="False">      83:</span> <span class="f">#</span><span class="n">ifdef</span> <span class="b">__i386__</span>
<a name="84" /><span class="False">      84:</span> <span class="f">#</span> <span class="n">define</span> <a href="macros_ref.html#_SEFWRV9HQ0NfQVNNX0ZPUl9YODdfMA__"><span class="b">HAVE_GCC_ASM_FOR_X87</span></a>
<a name="85" /><span class="False">      85:</span> <span class="f">#</span><span class="n">endif</span>
<a name="86" /><span class="False">      86:</span> 
<a name="87" /><span class="False">      87:</span>     <span class="k">/*</span>
<a name="88" /><span class="False">      88:</span> <span class="k">     * The definition in pyconfig.h is only valid on the OS release</span>
<a name="89" /><span class="False">      89:</span> <span class="k">     * where configure ran on and not necessarily for all systems where</span>
<a name="90" /><span class="False">      90:</span> <span class="k">     * the executable can be used on.</span>
<a name="91" /><span class="False">      91:</span> <span class="k">     *</span>
<a name="92" /><span class="False">      92:</span> <span class="k">     * Specifically: OSX 10.4 has limited supported for &apos;%zd&apos;, while</span>
<a name="93" /><span class="False">      93:</span> <span class="k">     * 10.5 has full support for &apos;%zd&apos;. A binary built on 10.5 won&apos;t</span>
<a name="94" /><span class="False">      94:</span> <span class="k">     * work properly on 10.4 unless we suppress the definition</span>
<a name="95" /><span class="False">      95:</span> <span class="k">     * of PY_FORMAT_SIZE_T</span>
<a name="96" /><span class="False">      96:</span> <span class="k">     */</span>
<a name="97" /><span class="False">      97:</span> <span class="f">#</span><span class="n">undef</span>  <a href="macros_ref.html#_UFlfRk9STUFUX1NJWkVfVF8w"><span class="b">PY_FORMAT_SIZE_T</span></a>
<a name="98" /><span class="False">      98:</span> 
<a name="99" /><span class="False">      99:</span> 
<a name="100" /><span class="True">     100:</span> <span class="f">#</span><span class="n">endif</span> <span class="k">/* defined(_APPLE__) */</span>
<a name="101" /><span class="True">     101:</span> 
<a name="102" /><span class="True">     102:</span> <span class="f">#</span><span class="n">endif</span> <span class="k">/* PYMACCONFIG_H */</span>
<a name="103" /><span class="True">     103:</span> </pre>
  </body>
</html>
